package com.ruoyi.system.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * aaa对象 pq
 *
 * @author ruoyi
 * @date 2025-04-15
 */
public class Pq extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 排期ID */
    @TableId(type = IdType.AUTO)
    private Long scheduleId;

    /** 排期用户 */
    @Excel(name = "排期用户")
    private Long userId;

    /** 单子ID */
    @Excel(name = "单子ID")
    private Long orderId;

    /** $column.columnComment */
    @Excel(name = "${comment}" , readConverterExp = "$column.readConverterExp()")
    private Long qdkbId;

    /** 1PM排期,2TL排期 */
    @Excel(name = "1PM排期,2TL排期")
    private String pmOrTl;

    /** 排期开始数据 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "排期开始数据" , width = 30, dateFormat = "yyyy-MM-dd")
    private Date scheduleStartDate;

    /** 排期结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "排期结束时间" , width = 30, dateFormat = "yyyy-MM-dd")
    private Date scheduleEndDate;

    public void setScheduleId(Long scheduleId) {
        this.scheduleId = scheduleId;
    }

    public Long getScheduleId() {
        return scheduleId;
    }
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }
    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getOrderId() {
        return orderId;
    }
    public void setQdkbId(Long qdkbId) {
        this.qdkbId = qdkbId;
    }

    public Long getQdkbId() {
        return qdkbId;
    }
    public void setPmOrTl(String pmOrTl) {
        this.pmOrTl = pmOrTl;
    }

    public String getPmOrTl() {
        return pmOrTl;
    }
    public void setScheduleStartDate(Date scheduleStartDate) {
        this.scheduleStartDate = scheduleStartDate;
    }

    public Date getScheduleStartDate() {
        return scheduleStartDate;
    }
    public void setScheduleEndDate(Date scheduleEndDate) {
        this.scheduleEndDate = scheduleEndDate;
    }

    public Date getScheduleEndDate() {
        return scheduleEndDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("scheduleId" , getScheduleId())
                .append("userId" , getUserId())
                .append("orderId" , getOrderId())
                .append("qdkbId" , getQdkbId())
                .append("pmOrTl" , getPmOrTl())
                .append("scheduleStartDate" , getScheduleStartDate())
                .append("scheduleEndDate" , getScheduleEndDate())
                .append("createTime" , getCreateTime())
                .toString();
    }
}
